-- All dates in only one of Exif, IIM (no digest), or XMP
read "../../input/base.*" set exif dates RIGHT write-nd "DateTime-01_+Exif-IIM-XMP"
read "../../input/base.*" set iim dates RIGHT write-nd "DateTime-02_-Exif+IIM-XMP_-IIMDigest"
read "../../input/base.*" set xmp dates RIGHT write-nd "DateTime-03_-Exif-IIM+XMP"

-- All dates in Exif with IIM (no digest), or with XMP
read "../../input/base.*" set exif dates RIGHT set iim dates WRONG write-nd "DateTime-04_+Exif+IIM-XMP_-IIMDigest"
read "../../input/base.*" set exif dates RIGHT set xmp dates WRONG write-nd "DateTime-05_+Exif-IIM+XMP"

-- All dates in IIM with XMP, all forms of IIM digest (match, differ, missing)
-- Note: For the IIM digest differs case, the XMP modify date is correct - there is no IIM modify date.
read "../../input/base.*" set iim dates WRONG set xmp dates RIGHT write "DateTime-06_-Exif+IIM+XMP_+IIMDigest"
read "../../input/base.*" set iim dates RIGHT set xmp dates WRONG set xmp m-date RIGHT write-zd "DateTime-07_-Exif+IIM+XMP_#IIMDigest"
read "../../input/base.*" set iim dates WRONG set xmp dates RIGHT write-nd "DateTime-08_-Exif+IIM+XMP_-IIMDigest"

-- All dates in all 3 forms, no IIM digest
read "../../input/base.*" set exif dates RIGHT set iim dates WRONG set xmp dates WRONG write-nd "DateTime-09_+Exif+IIM+XMP_-IIMDigest"

-- IIM only, IIM digest match
read "../../input/base.*" set iim dates RIGHT write "DateTime-10_-Exif+IIM-XMP_+IIMDigest"

-- XMP only, IIM digest present
read "../../input/base.*" set xmp dates RIGHT write-fd "DateTime-11_-Exif-IIM+XMP_+IIMDigest"

-- XMP only, IIM digest differs
read "../../input/base.*" set xmp dates WRONG set xmp m-date RIGHT write-zd "DateTime-12_-Exif-IIM+XMP_#IIMDigest"
